package com.shark.agentweb;

import android.content.Context;
import android.content.Intent;

/**
 * @author: guojr
 * @date: 2019/12/5
 */
public class SharkWeb {
    public static final String KEY_TYPE = "com.shark.web.key_type";
    public static final String KEY_URL = "com.shark.web.key_url";

    public static final int FLAG_GUIDE_IN_FRAGMENT_DEFAULT = 0;

    public static final String APP_LINK_HOST = "shark.club";
    public static final String APP_LINK_ACTION = "com.shark.app.applink";
    public static final String SHARK_SPECIAL_WORD = "shark";

    public static void openWebview(Context context, String url) {
        Intent intent = new Intent(context, SharkWebActivity.class);
        intent.putExtra(SharkWeb.KEY_URL, url);
        context.startActivity(intent);
    }
}
